package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.StrategyDetail;
import cn.wolfcode.luowowo.article.domain.StrategyTag;
import cn.wolfcode.luowowo.common.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyDetailService {
    void deleteByPrimaryKey(Long id);

    void insert(StrategyDetail record);

    StrategyDetail selectByPrimaryKey(Long id);

    List<StrategyDetail> selectAll();

    void updateByPrimaryKey(StrategyDetail record);

    PageInfo<StrategyDetail> queryForList(QueryObject qo);
    //查询目的地的攻略
    List<StrategyDetail> getGuideId(Long id);

    void saveOrUpdate(StrategyDetail strategyDetail, String tags);

    String getTags(Long id);

    List<StrategyDetail> listViewnumTop3(Long destId);

    List<StrategyDetail> list();

    void updateStats(StrategyDetail strategyDetail);
}
